Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.comment.workflow.operation.contrib--chains

This contribution is part of XML component org.nuxeo.ecm.platform.comment.workflow.operation.contrib inside nuxeo-platform-comment-workflow-9.10.jar /OSGI-INF/comment-operation-contrib.xml

Extension Point

Extension point chains of component OperationServiceComponent.

Contributed Items

  • <chain id="acceptComment">
          <operation id="Context.FetchDocument"/>
          <operation id="Comment.Moderate">
            <param name="accept" type="boolean">true</param>
          </operation>
        </chain>
  • <chain id="rejectComment">
          <operation id="Context.FetchDocument"/>
          <operation id="Comment.Moderate">
            <param name="accept" type="boolean">false</param>
          </operation>
        </chain>

XML Source

<extension point="chains" target="org.nuxeo.ecm.core.operation.OperationServiceComponent">

    <chain id="acceptComment">
      <operation id="Context.FetchDocument"/>
      <operation id="Comment.Moderate">
        <param name="accept" type="boolean">true</param>
      </operation>
    </chain>

    <chain id="rejectComment">
      <operation id="Context.FetchDocument"/>
      <operation id="Comment.Moderate">
        <param name="accept" type="boolean">false</param>
      </operation>
    </chain>

  </extension>